
<div class="content">
    <form (ngSubmit)="handleSubmit()" #Form="ngForm">
        <div class="input-group maxwidth">
            <span class="input-group-addon" id="basic-addon1">文章标题</span>
            <input type="text" class="form-control"
                   placeholder="请输入文章标题(不超过50个字)" maxlength="50" minlength="1"
                   required aria-describedby="basic-addon1" name="title" [(ngModel)]="_data.Title"
                   ngModel>
        </div>


        <div class="input-group maxwidth">
            <span class="input-group-addon">排序(数字越大，越靠前，相同数字的按修改时间逆序排序)</span>
            <input type="number" class="form-control" value="0"
                   required style="max-width: 100px"
                   name="sort" [(ngModel)]="_data.weight"
                   ngModel>
        </div>


        <h3>填写文章内容</h3>
        <div id="myEditor">

        </div>


        <button type="submit" id="loginSubmit" class="btn btn-primary btn-lg btn-block maxwidth"
                [disabled]="!Form.form.valid">提交</button>


    </form>

</div>
